package com.naiterui.common.jinshuju.callback.handler;

import java.util.Map;

import org.springframework.stereotype.Component;

import com.naiterui.common.jinshuju.bean.JinshujuCallback;
import com.naiterui.common.jinshuju.bean.JinshujuInfo;
import com.naiterui.common.jinshuju.exception.JinshujuException;
import com.naiterui.common.jinshuju.service.JinshujuService;

/**
 * 金数据-默认回调日志打印
 *
 * @author gaoliangliang
 * @date 2019/10/19 2:36 下午
 * @since 1.0.0
 */
@Component
public class LogCallbackHandler extends AbstractCallbackHandler {

    @Override
    public JinshujuInfo handle(JinshujuCallback jinshujuCallback, Map<String, Object> context, JinshujuService jinshujuService) throws JinshujuException {
        this.LOGGER.info("量表回调结果：{}", jinshujuCallback);

        return null;
    }
}
